<html><head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Definition" rel="Chapter" href="Definition.html"><title>Definition.array_exists</title>
</head>
<body>
<code class="code"><span class="keyword">let</span>&nbsp;array_exists&nbsp;predicat&nbsp;tab=<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">let</span>&nbsp;i=ref&nbsp;0&nbsp;<span class="keyword">in</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">while</span>&nbsp;!i&lt;<span class="constructor">Array</span>.length&nbsp;tab&nbsp;<span class="keywordsign">&amp;&amp;</span>&nbsp;not&nbsp;(predicat&nbsp;tab.(!i))&nbsp;<span class="keyword">do</span>&nbsp;incr&nbsp;i&nbsp;<span class="keyword">done</span>;<br>
&nbsp;&nbsp;&nbsp;&nbsp;not&nbsp;(!i=<span class="constructor">Array</span>.length&nbsp;tab)</code></body></html>